Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.theme.jsf--views

In component org.nuxeo.theme.jsf
This contribution is part of XML component org.nuxeo.theme.jsf inside nuxeo-theme-jsf-5.8.jar

Extension Point

Extension point views of component ThemeService.

Contributed Items

  • <view template-engine="jsf-facelets">
          <format-type>layout</format-type>
          <class>
            org.nuxeo.theme.html.filters.layout.DefaultLayoutView
          </class>
        </view>
  • <view template-engine="jsf-facelets">
          <format-type>style</format-type>
          <class>
            org.nuxeo.theme.html.filters.style.DefaultStyleView
          </class>
        </view>
  • <view name="theme view" template-engine="jsf-facelets">
          <element-type>theme</element-type>
          <format-type>widget</format-type>
          <template>nxthemes/jsf/widgets/theme-view.xml</template>
          <resource>nxthemes.css</resource>
          <resource>autosuggest.css</resource>
        </view>
  • <view name="page frame" template-engine="jsf-facelets">
          <element-type>page</element-type>
          <format-type>widget</format-type>
          <template>nxthemes/jsf/widgets/page-frame.xml</template>
        </view>
  • <view name="section frame" template-engine="jsf-facelets">
          <element-type>section</element-type>
          <format-type>widget</format-type>
          <template>nxthemes/jsf/widgets/section-frame.xml</template>
        </view>
  • <view name="cell frame" template-engine="jsf-facelets">
          <element-type>cell</element-type>
          <format-type>widget</format-type>
          <template>nxthemes/jsf/widgets/cell-frame.xml</template>
        </view>
  • <view name="vertical menu" template-engine="jsf-facelets">
          <format-type>widget</format-type>
          <model-type>menu</model-type>
          <template>nxthemes/jsf/widgets/vertical-menu.xml</template>
        </view>
  • <view name="horizontal tabs" template-engine="jsf-facelets">
          <format-type>widget</format-type>
          <model-type>menu</model-type>
          <template>
            nxthemes/jsf/widgets/horizontal-tabs.xml
          </template>
        </view>
  • <view name="plain text" template-engine="jsf-facelets">
          <format-type>widget</format-type>
          <model-type>text</model-type>
          <icon>nxthemes/html/icons/plain-text.png</icon>
          <template>nxthemes/jsf/widgets/plain-text.xml</template>
        </view>
  • <view name="plain html" template-engine="jsf-facelets">
          <format-type>widget</format-type>
          <model-type>html</model-type>
          <icon>nxthemes/html/icons/plain-html.png</icon>
          <template>nxthemes/jsf/widgets/plain-html.xml</template>
        </view>
  • <view name="facelet region" template-engine="jsf-facelets">
          <format-type>widget</format-type>
          <model-type>region</model-type>
          <icon>nxthemes/jsf/icons/facelet-region.png</icon>
          <class>
            org.nuxeo.theme.jsf.filters.widgets.FaceletRegionView
          </class>
        </view>
  • <view name="theme view" template-engine="jsf-facelets">
          <engine>default</engine>
          <element-type>theme</element-type>
          <mode>no-cache</mode>
          <format-type>widget</format-type>
          <template>nxthemes/jsf/widgets/theme-view-no-cache.xml</template>
          <resource>nxthemes.css</resource>
          <resource>autosuggest.css</resource>
        </view>

XML Source

<extension point="views" target="org.nuxeo.theme.services.ThemeService">

    <view template-engine="jsf-facelets">
      <format-type>layout</format-type>
      <class>
        org.nuxeo.theme.html.filters.layout.DefaultLayoutView
      </class>
    </view>

    <view template-engine="jsf-facelets">
      <format-type>style</format-type>
      <class>
        org.nuxeo.theme.html.filters.style.DefaultStyleView
      </class>
    </view>

    <view name="theme view" template-engine="jsf-facelets">
      <element-type>theme</element-type>
      <format-type>widget</format-type>
      <template>nxthemes/jsf/widgets/theme-view.xml</template>
      <resource>nxthemes.css</resource>
      <resource>autosuggest.css</resource>
    </view>

    <view name="page frame" template-engine="jsf-facelets">
      <element-type>page</element-type>
      <format-type>widget</format-type>
      <template>nxthemes/jsf/widgets/page-frame.xml</template>
    </view>

    <view name="section frame" template-engine="jsf-facelets">
      <element-type>section</element-type>
      <format-type>widget</format-type>
      <template>nxthemes/jsf/widgets/section-frame.xml</template>
    </view>

    <view name="cell frame" template-engine="jsf-facelets">
      <element-type>cell</element-type>
      <format-type>widget</format-type>
      <template>nxthemes/jsf/widgets/cell-frame.xml</template>
    </view>

    <view name="vertical menu" template-engine="jsf-facelets">
      <format-type>widget</format-type>
      <model-type>menu</model-type>
      <template>nxthemes/jsf/widgets/vertical-menu.xml</template>
    </view>

    <view name="horizontal tabs" template-engine="jsf-facelets">
      <format-type>widget</format-type>
      <model-type>menu</model-type>
      <template>
        nxthemes/jsf/widgets/horizontal-tabs.xml
      </template>
    </view>

    <view name="plain text" template-engine="jsf-facelets">
      <format-type>widget</format-type>
      <model-type>text</model-type>
      <icon>nxthemes/html/icons/plain-text.png</icon>
      <template>nxthemes/jsf/widgets/plain-text.xml</template>
    </view>

    <view name="plain html" template-engine="jsf-facelets">
      <format-type>widget</format-type>
      <model-type>html</model-type>
      <icon>nxthemes/html/icons/plain-html.png</icon>
      <template>nxthemes/jsf/widgets/plain-html.xml</template>
    </view>

    <view name="facelet region" template-engine="jsf-facelets">
      <format-type>widget</format-type>
      <model-type>region</model-type>
      <icon>nxthemes/jsf/icons/facelet-region.png</icon>
      <class>
        org.nuxeo.theme.jsf.filters.widgets.FaceletRegionView
      </class>
    </view>

    <!-- no style caching -->
    <view name="theme view" template-engine="jsf-facelets">
      <engine>default</engine>
      <element-type>theme</element-type>
      <mode>no-cache</mode>
      <format-type>widget</format-type>
      <template>nxthemes/jsf/widgets/theme-view-no-cache.xml</template>
      <resource>nxthemes.css</resource>
      <resource>autosuggest.css</resource>
    </view>


  </extension>